<?php
namespace Common\Model;
use Common\Model\AiModel;
class MyCollectModel extends AiModel {
     function ToUidGetDoctorList($uid){
    	 $where['uid']=$uid;
    	 $info=$this->where($where)->select();
    	 return $info;
    }

//用户和医生的关注关系
function follow($uid,$did){
   $where['uid']=$uid;
   $where['did']=$did;
   $info=$this->where($where)->find();
   $status=$info?1:0;
   return $status;
}

}